﻿<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>管理系统</title>

    <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- Font Awesome -->
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <!-- Theme style -->
    <link href="adminlte/css/AdminLTE.lite.css" rel="stylesheet" />
    <!-- AdminLTE Skins. Choose a skin from the css/skins
     folder instead of downloading all of them to reduce the load. -->
    <link href="adminlte/css/skins/all-skins.min.css" rel="stylesheet" />
    <style type="text/css">
        html {
            overflow: hidden;
        }

        .systitle {
            font-size: 1.4em;
            font-weight: bold;
            cursor: default;
        }

        .systitle:hover {
            cursor: default;
            background-color: transparent;
        }

        .subsystitle {
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
        }

        .menu_tab {
            padding: 0 10px !important;
        }

        .page_tab_title {
            padding-right: 3px;
            font-size: 1.1em;
        }

        .page_tab_close {
            cursor: pointer;
            font-size: 1.3em;
            font-weight: bold;
        }
    </style>
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body class="hold-transition skin-blue sidebar-mini">
    <noscript>
        <div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;">
            <h3>您所用的浏览器未启用脚本，系统无法正常工作！</h3>
        </div>
    </noscript>
    <div class="wrapper">

        <header class="main-header">
            <!-- Logo -->
            <a href="#" class="logo">
                <!-- mini logo for sidebar mini 50x50 pixels -->
                <span class="logo-mini">ALT</span>
                <!-- logo for regular state and mobile devices -->
                <span class="logo-lg">综合管理系统</span>
            </a>
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top">
                <!-- Sidebar toggle button-->
                <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>
                <div class="navbar-header">
                    <ul class="nav navbar-nav">
                        <li><a class="systitle">管理系统</a></li>
                    </ul>
                </div>

                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav">
                        <!-- User Account: style can be found in dropdown.less -->
                        <li class="dropdown user user-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <!-- <img src="../dist/img/user2-160x160.jpg" class="user-image" alt="User Image"> -->
                                <i class="fa fa-user-circle user-image"></i>
                                <span class="hidden-xs">系统管理员</span>
                            </a>
                            <ul class="dropdown-menu  dropdown-menu-right" style="padding-top:0;width:180px;">
                                <!-- User image -->
                                <li class="user-header">
                                    <!-- <img src="../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image"> -->
                                    <p>
                                        系统管理员
                                        <small>admin</small>
                                    </p>
                                </li>
                                <!-- Menu Body -->
                                <!-- <li class="user-body">
                                        <div class="row">
                                            <div class="col-xs-4 text-center">
                                                <a href="#">Followers</a>
                                            </div>
                                            <div class="col-xs-4 text-center">
                                                <a href="#">Sales</a>
                                            </div>
                                            <div class="col-xs-4 text-center">
                                                <a href="#">Friends</a>
                                            </div>
                                        </div>
                                    </li> -->
                                <!-- Menu Footer-->
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a href="#" class="btn btn-default btn-flat"><i class="fa fa-key"></i>修改密码</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="#" class="btn btn-default btn-flat"><i class="fa fa-sign-out"></i>登出</a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                        <!-- Control Sidebar Toggle Button -->
                        <li>
                            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
                        </li>
                    </ul>
                </div>

                <div class="navbar navbar-custom-menu" style="padding-right:20px;">
                    <ul class="nav navbar-nav">
                        <li>
                            <a class="subsystitle">子系统1</a>
                        </li>
                        <li>
                            <a class="subsystitle">子系统2</a>
                        </li>
                        <li>
                            <a class="subsystitle">子系统3</a>
                        </li>
                        <li>
                            <a class="subsystitle">子系统4</a>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <!-- Left side column. contains the logo and sidebar -->
        <aside class="main-sidebar">
            <!-- sidebar: style can be found in sidebar.less -->
            <section class="sidebar">
                <!-- search form -->
                <form action="#" method="get" class="sidebar-form">
                    <div class="input-group">
                        <input type="text" name="q" class="form-control" placeholder="Search...">
                        <span class="input-group-btn">
                            <button type="button" name="search" id="search-btn" class="btn btn-flat" onclick="search_menu()">
                                <i class="fa fa-search"></i>
                            </button>
                        </span>
                    </div>
                </form>
                <!-- /.search form -->
                <!-- sidebar menu: : style can be found in sidebar.less -->
                <ul class="sidebar-menu">
                    <!--<li class="header">MAIN NAVIGATION</li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-dashboard"></i> <span>Dashboard</span>
                                <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="../index.html"><i class="fa fa-circle-o"></i> Dashboard v1</a></li>
                                <li><a href="../index2.html"><i class="fa fa-circle-o"></i> Dashboard v2</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-files-o"></i>
                                <span>Layout Options</span>
                                <span class="pull-right-container">
                      <span class="label label-primary pull-right">4</span>
                    </span>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="layout/top-nav.html"><i class="fa fa-circle-o"></i> Top Navigation</a></li>
                                <li><a href="layout/boxed.html"><i class="fa fa-circle-o"></i> Boxed</a></li>
                                <li><a href="layout/fixed.html"><i class="fa fa-circle-o"></i> Fixed</a></li>
                                <li><a href="layout/collapsed-sidebar.html"><i class="fa fa-circle-o"></i> Collapsed Sidebar</a>
                                </li>
                            </ul>
                        </li>
                        <li class="active">
                            <a href="widgets.html">
                                <i class="fa fa-th"></i> <span>Widgets</span>
                                <span class="pull-right-container">
                      <small class="label pull-right bg-green">new</small>
                    </span>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-pie-chart"></i>
                                <span>Charts</span>
                                <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="charts/chartjs.html"><i class="fa fa-circle-o"></i> ChartJS</a></li>
                                <li><a href="charts/morris.html"><i class="fa fa-circle-o"></i> Morris</a></li>
                                <li><a href="charts/flot.html"><i class="fa fa-circle-o"></i> Flot</a></li>
                                <li><a href="charts/inline.html"><i class="fa fa-circle-o"></i> Inline charts</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-laptop"></i>
                                <span>UI Elements</span>
                                <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="UI/general.html"><i class="fa fa-circle-o"></i> General</a></li>
                                <li><a href="UI/icons.html"><i class="fa fa-circle-o"></i> Icons</a></li>
                                <li><a href="UI/buttons.html"><i class="fa fa-circle-o"></i> Buttons</a></li>
                                <li><a href="UI/sliders.html"><i class="fa fa-circle-o"></i> Sliders</a></li>
                                <li><a href="UI/timeline.html"><i class="fa fa-circle-o"></i> Timeline</a></li>
                                <li><a href="UI/modals.html"><i class="fa fa-circle-o"></i> Modals</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-edit"></i> <span>Forms</span>
                                <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="forms/general.html"><i class="fa fa-circle-o"></i> General Elements</a></li>
                                <li><a href="forms/advanced.html"><i class="fa fa-circle-o"></i> Advanced Elements</a></li>
                                <li><a href="forms/editors.html"><i class="fa fa-circle-o"></i> Editors</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-table"></i> <span>Tables</span>
                                <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="tables/simple.html"><i class="fa fa-circle-o"></i> Simple tables</a></li>
                                <li><a href="tables/data.html"><i class="fa fa-circle-o"></i> Data tables</a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="calendar.html">
                                <i class="fa fa-calendar"></i> <span>Calendar</span>
                                <span class="pull-right-container">
                      <small class="label pull-right bg-red">3</small>
                      <small class="label pull-right bg-blue">17</small>
                    </span>
                            </a>
                        </li>
                        <li>
                            <a href="mailbox/mailbox.html">
                                <i class="fa fa-envelope"></i> <span>Mailbox</span>
                                <span class="pull-right-container">
                      <small class="label pull-right bg-yellow">12</small>
                      <small class="label pull-right bg-green">16</small>
                      <small class="label pull-right bg-red">5</small>
                    </span>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-folder"></i> <span>Examples</span>
                                <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="examples/invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
                                <li><a href="examples/profile.html"><i class="fa fa-circle-o"></i> Profile</a></li>
                                <li><a href="examples/login.html"><i class="fa fa-circle-o"></i> Login</a></li>
                                <li><a href="examples/register.html"><i class="fa fa-circle-o"></i> Register</a></li>
                                <li><a href="examples/lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
                                <li><a href="examples/404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
                                <li><a href="examples/500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
                                <li><a href="examples/blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
                                <li><a href="examples/pace.html"><i class="fa fa-circle-o"></i> Pace Page</a></li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-share"></i> <span>Multilevel</span>
                                <span class="pull-right-container">
                      <i class="fa fa-angle-left pull-right"></i>
                    </span>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
                                <li>
                                    <a href="#"><i class="fa fa-circle-o"></i> Level One
                                        <span class="pull-right-container">
                          <i class="fa fa-angle-left pull-right"></i>
                        </span>
                                    </a>
                                    <ul class="treeview-menu">
                                        <li><a href="#"><i class="fa fa-circle-o"></i> Level Two</a></li>
                                        <li>
                                            <a href="#"><i class="fa fa-circle-o"></i> Level Two
                                                <span class="pull-right-container">
                              <i class="fa fa-angle-left pull-right"></i>
                            </span>
                                            </a>
                                            <ul class="treeview-menu">
                                                <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
                                                <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
                                            </ul>
                                        </li>
                                    </ul>
                                </li>
                                <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
                            </ul>
                        </li>
                        <li><a href="../documentation/index.html"><i class="fa fa-book"></i> <span>Documentation</span></a></li>
                        <li class="header">LABELS</li>
                        <li><a href="#"><i class="fa fa-circle-o text-red"></i> <span>Important</span></a></li>
                        <li><a href="#"><i class="fa fa-circle-o text-yellow"></i> <span>Warning</span></a></li>
                        <li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>Information</span></a></li>-->
                </ul>
            </section>
            <!-- /.sidebar -->
        </aside>

        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper" id="content-wrapper" style="min-height: 421px;">
            <!--bootstrap tab风格 多标签页-->
            <div class="content-tabs">
                <button class="roll-nav roll-left tabLeft" onclick="scrollTabLeft()">
                    <i class="fa fa-backward"></i>
                </button>
                <nav class="page-tabs menuTabs tab-ui-menu" id="tab-menu">
                    <div class="page-tabs-content" style="margin-left: 0px;">

                    </div>
                </nav>
                <button class="roll-nav roll-right tabRight" onclick="scrollTabRight()">
                    <i class="fa fa-forward" style="margin-left: 3px;"></i>
                </button>
                <div class="btn-group roll-nav roll-right">
                    <button class="dropdown tabClose" data-toggle="dropdown">
                        页签操作<i class="fa fa-caret-down" style="padding-left: 3px;"></i>
                    </button>
                    <ul class="dropdown-menu dropdown-menu-right" style="min-width: 128px;">
                        <li><a class="tabReload" href="javascript:refreshTab();">刷新当前</a></li>
                        <li><a class="tabCloseCurrent" href="javascript:closeCurrentTab();">关闭当前</a></li>
                        <li><a class="tabCloseAll" href="javascript:closeOtherTabs(true);">全部关闭</a></li>
                        <li><a class="tabCloseOther" href="javascript:closeOtherTabs();">除此之外全部关闭</a></li>
                    </ul>
                </div>
                <button class="roll-nav roll-right fullscreen" onclick="App.handleFullScreen()">
                    <i class="fa fa-arrows-alt"></i>
                </button>
            </div>
            <div class="content-iframe " style="background-color: #ffffff; ">
                <div class="tab-content " id="tab-content">

                </div>
            </div>
        </div>
        <!-- /.content-wrapper -->

        <footer class="main-footer">
            <div class="pull-right hidden-xs">
                <b>Version</b> 2.0
            </div>
            <strong>Copyright &copy; <a href="#">fallstar0@qq.com</a>.</strong> All rights reserved.
        </footer>

        <!-- Control Sidebar -->
        <aside class="control-sidebar control-sidebar-dark">
            <!-- Create the tabs -->
            <ul class="nav nav-tabs nav-justified control-sidebar-tabs" style="display:none;">
                <li class="active">
                    <a href="#control-sidebar-theme-demo-options-tab" data-toggle="tab" aria-expanded="true"><i class="fa fa-wrench"></i></a>
                </li>
            </ul>
            <!-- Tab panes -->
            <div class="tab-content" id="ctrlbar-content">
            </div>
        </aside>
        <!-- /.control-sidebar -->
        <!-- Add the sidebar's background. This div must be placed
             immediately after the control sidebar -->
        <div class="control-sidebar-bg"></div>
    </div>
    <!-- ./wrapper -->
    <!-- jQuery -->
    <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
    <!-- Bootstrap 3.3.6 -->
    <script src="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <!-- Slimscroll -->
    <script src="adminlte/js/jquery.slimscroll.min.js"></script>

    <!-- AdminLTE App -->
    <script src="adminlte/js/adminlte.lite.js"></script>
    <!-- AdminLTE for demo purposes -->
    <script src="adminlte/js/adminlte.skin.js"></script>
    <script src="adminlte/js/jquery.blockUI.min.js"></script>
    <!--tabs-->
    <script src="adminlte/js/app_iframe.js"></script>

    <script type="text/javascript">
        /**
         * 本地搜索菜单
         */
        function search_menu() {
            //要搜索的值
            var text = $('input[name=q]').val();

            var $ul = $('.sidebar-menu');
            $ul.find("a.nav-link").each(function () {
                var $a = $(this).css("border", "");

                //判断是否含有要搜索的字符串
                if ($a.children("span.menu-text").text().indexOf(text) >= 0) {

                    //如果a标签的父级是隐藏的就展开
                    $ul = $a.parents("ul");

                    if ($ul.is(":hidden")) {
                        $a.parents("ul").prev().click();
                    }

                    //点击该菜单
                    $a.click().css("border", "1px solid");

                    //                return false;
                }
            });
        }

        $(function () {
            //        console.log(window.location);

            App.setbasePath("../");
            App.setGlobalImgPath("dist/img/");

            // addTabs({
            //     id: '10008',
            //     title: '欢迎页',
            //     close: false,
            //     url: 'about.html',
            //     urlType: "relative"
            // });
            addTabs({
                id: "90021",
                text: "Bing",
                url: "https://cn.bing.com",
                targetType: "iframe-tab",
                icon: "fa fa-circle-o",
                urlType: 'abosulte'
            });

            App.fixIframeCotent();

            /*addTabs({
             id: '10009',
             title: '404',
             close: true,
             url: 'UI/buttons_iframe2.html'
             });*/

            /*
             <li class="treeview">
             <a href="#">
             <i class="fa fa-edit"></i> <span>Forms</span>
             <span class="pull-right-container">
             <i class="fa fa-angle-left pull-right"></i>
             </span>
             </a>
             <ul class="treeview-menu">
             <li><a href="forms/general.html"><i class="fa fa-circle-o"></i> General Elements</a></li>
             <li><a href="forms/advanced.html"><i class="fa fa-circle-o"></i> Advanced Elements</a></li>
             <li><a href="forms/editors.html"><i class="fa fa-circle-o"></i> Editors</a></li>
             </ul>
             </li>
             */
            var menus = [
                {
                    id: "9000",
                    text: "header",
                    icon: "",
                    isHeader: true
                },
                {
                    id: "9001",
                    text: "UI Elements",
                    icon: "fa fa-laptop",
                    children: [
                        {
                            id: "90011",
                            text: "buttons",
                            icon: "fa fa-circle-o",
                            url: "UI/buttons_iframe.html",
                            targetType: "iframe-tab"
                        },
                        {
                            id: "90012",
                            text: "icons",
                            url: "UI/icons_iframe.html",
                            targetType: "iframe-tab",
                            icon: "fa fa-circle-o"
                        },
                        {
                            id: "90013",
                            text: "general",
                            url: "UI/general_iframe.html",
                            targetType: "iframe-tab",
                            icon: "fa fa-circle-o"
                        },
                        {
                            id: "90014",
                            text: "modals",
                            url: "UI/modals_iframe.html",
                            targetType: "iframe-tab",
                            icon: "fa fa-circle-o"
                        },
                        {
                            id: "90015",
                            text: "sliders",
                            url: "UI/sliders_iframe.html",
                            targetType: "iframe-tab",
                            icon: "fa fa-circle-o"
                        },
                        {
                            id: "90016",
                            text: "timeline",
                            url: "UI/timeline_iframe.html",
                            targetType: "iframe-tab",
                            icon: "fa fa-circle-o"
                        }
                    ]
                },
                {
                    id: "9002",
                    text: "Forms",
                    icon: "fa fa-edit",
                    children: [
                        {
                            id: "90021",
                            text: "advanced",
                            url: "forms/advanced_iframe.html",
                            targetType: "iframe-tab",
                            icon: "fa fa-circle-o"
                        },
                        {
                            id: "90022",
                            text: "general",
                            url: "forms/general_iframe.html",
                            targetType: "iframe-tab",
                            icon: "fa fa-circle-o"
                        },
                        {
                            id: "90023",
                            text: "editors",
                            url: "forms/editors_iframe.html",
                            targetType: "iframe-tab",
                            icon: "fa fa-circle-o"
                        },
                        {
                            id: "90024",
                            text: "百度",
                            url: "https://www.baidu.com",
                            targetType: "iframe-tab",
                            icon: "fa fa-circle-o",
                            urlType: 'abosulte'
                        }
                    ]
                }
            ];
            $('.sidebar-menu').sidebarMenu({ data: menus });

            // 动态创建菜单后，可以重新计算 SlimScroll
            // $.AdminLTE.layout.fixSidebar();

            /*if ($.AdminLTE.options.sidebarSlimScroll) {
                if (typeof $.fn.slimScroll != 'undefined') {
                    //Destroy if it exists
                    var $sidebar = $(".sidebar");
                    $sidebar.slimScroll({destroy: true}).height("auto");
                    //Add slimscroll
                    $sidebar.slimscroll({
                        height: ($(window).height() - $(".main-header").height()) + "px",
                        color: "rgba(0,0,0,0.2)",
                        size: "3px"
                    });
                }
            }*/

        });
    </script>

</body>

</html>